home *** CD-ROM | disk | FTP | other *** search
/ Tech Win 1999 February / TECH Win 02-1999 Disc A.iso / ols / lzh / tcl211.lzh / DLLSRC.lzh / tcdll.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-27  |  1.5 KB  |  56 lines

  1. /*-------------------------------------------
  2.  TCDLL.H
  3.  KAZUBON 1997-1998
  4. ---------------------------------------------*/
  5.  
  6. #include <windows.h>
  7. #include <windowsx.h>
  8. #include <winreg.h>
  9. #include <shellapi.h>
  10. #include <winnls.h>
  11. #include <commctrl.h>
  12.  
  13. // UTL.C
  14. HFONT CreateMyFont(char* fontname, int fontsize,
  15.     LONG weight, LONG italic);
  16. int ext_cmp(char *fname, char *ext);
  17. void add_title(char *path, char *title);
  18. void del_title(char *path);
  19. void parse(char *dst, char *src, int n);
  20. char* MyString(UINT id);
  21. int GetMyRegStr(char* section, char* entry, char* val, char* defval);
  22. LONG GetMyRegLong(char* section, char* entry, LONG defval);
  23. int GetRegStr(HKEY rootkey, char*subkey, char* entry,
  24.         char* val, char* defval);
  25. BOOL SetMyRegStr(char* subkey, char* entry, char* val);
  26. BOOL SetMyRegLong(char* subkey, char* entry, DWORD val);
  27. void WriteDebug(LPSTR s);
  28.  
  29. // FORMAT.C
  30. void InitFormat(void);
  31. void MakeFormat(char* s, SYSTEMTIME* pt, char* fmt);
  32. BOOL IsDispSecond(char* fmt);
  33.  
  34. // STARTBTN.C
  35. void SetStartButton(HWND hwnd);
  36. void EndStartButton(void);
  37. void SetStartButtonBmp(void);
  38.  
  39. // STARTMENU.C
  40. void SetStartMenu(HWND hwnd);
  41. void EndStartMenu(void);
  42. void InitStartMenuIE4(void);
  43. void ClearStartMenuIE4(void);
  44.  
  45. // TIMER.C
  46. void StartTimer(UINT idTimer);
  47. void StopTimer(int n);
  48. void ClearTimer(void);
  49. void AppendTimerMenu(HMENU hm);
  50. void SetTimerMenu(HMENU hm);
  51. void DoTimer(int minute, int second);
  52.  
  53. // BMP.C
  54. HBITMAP ReadBitmap(HWND hwnd, char* fname, BOOL b);
  55.  
  56.